package me.sdevil507.org.dto;


import lombok.Data;

import javax.persistence.Column;
import java.util.List;

/**
 * 机构部门表[OrgDeptResultDto]
 *
 * @author sdevil507
 * created on 2020-06-24 14:29:16
 */
@Data
public class OrgDeptResultDto {

    /**
     * 主键
     */
    private Long id;

    /**
     * 部门名称
     */
    private String title;

    /**
     * 部门编码
     */
    private String code;

    /**
     * 父id
     */
    private Long parentId;

    /**
     * 排序号
     */
    private int sortNum;

    private boolean itIsOrg;

    private boolean itIsRoot;

    private Long orgId;

    private String orgName;
    /**
     * 是否展开
     */
    private boolean expand = true;

    /**
     * 子对象
     */
    private List<OrgDeptResultDto> children;

}